package com.sentrix.auto.printercenter.infrastructure.persistence;

import com.sentrix.auto.printercenter.domain.entity.PrinterEntity;
import com.mybatisflex.core.service.IService;

import java.util.List;

public interface IPrinterRepository extends IService<PrinterEntity> {
    List<PrinterEntity> findByAgentCode(String code);

    PrinterEntity findByCode(String printerCode);

    void removeByCode(String printerCode);

    PrinterEntity findByAgentCodeAndPrinterName(String agentCode, String printerName);
}
